package ciyuan.Block.Machine.Simple.Anvil;

import ciyuan.Block.TypeInterface.MachineScreen;
import ciyuan.MainClass;
import com.mojang.blaze3d.matrix.MatrixStack;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

public class AnvilScreen extends MachineScreen<AnvilContainer> {

    private static final ResourceLocation BACKGROUND = new ResourceLocation(MainClass.MODID, "textures/gui/container/grinder.png");

    public AnvilScreen(AnvilContainer anvilContainer, PlayerInventory playerInventory, ITextComponent iTextComponent) {
        super(anvilContainer, playerInventory, iTextComponent, BACKGROUND, 176, 166);
    }

    @Override
    public void render(MatrixStack matrixStack, int mouseX, int mouseY, float particleTicks) {
        super.render(matrixStack, mouseX, mouseY, particleTicks);
        this.drawJianTou(matrixStack, 79, 34);
        this.renderTooltip(matrixStack, mouseX, mouseY);
    }

}
